package com.weizhi.server.mapper;

import com.weizhi.server.entity.Resource;

import java.util.List;

public interface ResourceMapper {

    List<Resource> selectByParentId(Long parentId);

    List<Resource> list();

    int deleteByPrimaryKey(Long id);

    int insert(Resource record);

    int insertSelective(Resource record);

    Resource selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Resource record);

    int updateByPrimaryKey(Resource record);
}